<html>

<head>
	
	<script type="text/javascript">

	function cyclepages(minutes) {
		var myUrlArray = [
      //Chart: Total Grants Given
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdEpIbFRQbkIxamJfV25Md1hIakdxbnc&single=true&gid=21&output=html", 
      //Chart: Grants Program Value
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdEpIbFRQbkIxamJfV25Md1hIakdxbnc&single=true&gid=14&output=html",
      //Chart: Grants in non-US Countries
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdEpIbFRQbkIxamJfV25Md1hIakdxbnc&single=true&gid=19&output=html", 
      //Chart: Grants in the US vs. Non-Us Countries
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdEpIbFRQbkIxamJfV25Md1hIakdxbnc&single=true&gid=18&output=html", 
      //Chart: Individuals Trained
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdDkzVFQxTDVEcnBTR1Bxb1ZwSEZuc0E&single=true&gid=24&output=html",
      //Chart: Tool Usage
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdDkzVFQxTDVEcnBTR1Bxb1ZwSEZuc0E&single=true&gid=25&output=html",
      //Chart: Content Creation
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdDkzVFQxTDVEcnBTR1Bxb1ZwSEZuc0E&single=true&gid=26&output=html",
     //Chart: Average Daily Website Views since 2011
     "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdEtBQjRBNlFQVFI3UlJEanhCc3hUUHc&single=true&gid=12&output=html",
     //Chart: Average Daily Pageviews by Section since 2011
     "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdEtBQjRBNlFQVFI3UlJEanhCc3hUUHc&single=true&gid=13&output=html",
     //Chart: Average Daily YouTube Views since 2011
     "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdEtBQjRBNlFQVFI3UlJEanhCc3hUUHc&single=true&gid=14&output=html",
      //Chart: Social Media Growth
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdGVTMjVHYzdjNnVIc3NST1FYVnlobnc&single=true&gid=5&output=html",
      //Chart: Mailing List Growth
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdGVTMjVHYzdjNnVIc3NST1FYVnlobnc&single=true&gid=6&output=html",
      //Chart: Post Messaging
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao1MfhSfZNRtdGVTMjVHYzdjNnVIc3NST1FYVnlobnc&single=true&gid=13&output=html",
     //Chart: Media Articles per Month
      "https://docs.google.com/a/google.com/spreadsheet/pub?key=0Ao-Z6usc6gladGxjVUNoOEdDQ2MzempBcUV5OHFjS2c&single=true&gid=3&output=html",
    ];

		var u = 0;
    document.getElementById('myiFrame').setAttribute('src',myUrlArray[u]);
    
		setInterval(function(){
      console.log(u);
      if(u < myUrlArray.length - 1){
          ++u;
      }else{
          u = 0;
      }      
      document.getElementById('myiFrame').setAttribute('src',myUrlArray[u]);
		}, minutes * 60 * 1000);
	}

	</script>

</head>

<body onLoad="cyclepages(5)">

<iframe id="myiFrame" style="width: 100%; height:100%;" src="">Your browser does not support iframes</iframe>

</body>

</html>